<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>原创创作平台</title>
    <link rel="stylesheet" type="text/css" href="/static/writer/css/index-2017051107-f.css">
    <link rel="stylesheet" type="text/css" href="/static/writer/css/UBXCMkzNVlaZYNs-f.css">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <script src="/static/layui/layui.js"></script>


    <style>
        .content {
            font-size: 20px;
            margin-left: -48px;
        }

        .content-zuopin {
            width: 950px;
            height: 1600px;
            /* border: 1px solid red; */
        }

        .content-all {
            width: 1020px;
            height: 1200px;
            /* border: 1px solid red; */
            margin: 10px 1px;
        }

        .inputys {

            border: 1px solid rgb(111, 111, 111);

        }

        .zuopin {
            padding: 20px 200px;
        }

        .zhengwen {
            margin: 0px 70px;

        }

        .zpzw {
            margin: 0px 5px;
        }

        .zuopzj {
            margin: 0px -197px;
        }

        .zpfl {
            margin: 0px 35px;
        }

        .fm-all {
            width: 400px;
            height: 250px;
            /* border: 1px solid red; */
            margin: 25px 270px;
        }

        .fm {
            width: 200px;
            height: 200px;
            border: 1px solid rgb(111, 111, 111);
        }

        .error {
            color: red;
        }
    </style>
</head>

<body>

<div id="root">
    <div data-reactroot="" class="framePage">
        <div class="content-wrap">

            <!-- 头部 -->
            <header class="topbar"><h1 class="topbar-logo"><img src=""></h1><!-- react-empty: 118 -->
                <div class="topbar-right">
                    <ul class="top-nav clearfix">
                        <li class="topbar-sp-width">
                            <div class="fontsize14"><a href="{:url('index/writerpersonal')}">{$penname}</a></div>
                        </li>
                        <li class="user">
                            <div><a href=""><img class="frame-message-img"
                                                 src=""></a>
                            </div>
                        </li>
                        <li class="logout"><a href="{:url('index/writerout')}"><img class="frame-logout-img"
                                                                                    src=""></a>
                        </li>
                    </ul>
                </div>
            </header>


            <!-- 左导航栏 -->
            <div class="sidebar">
                <ul class="nav">

                    <li class="nav-tab" data-url="#/"><h3 class="active"><i class="anticon anticon-shortlong"></i>
                        作品管理</h3>
                        <ul class="two-nav" style="display: block;">
                            <li><a class="sidebarItems colorWhite" href="{:url('index/writerpersonal')}">
                                <div class="sidebarItems-text">作品列表</div>
                            </a></li>
                            <li><a class="sidebarItems colorWhite" href="{:url('writerfound')}">
                                <div class="sidebarItems-text">创建新书</div>
                            </a></li>
                            <li><a class="sidebarItems" href="{:url('index/authormoney')}">
                                <div class="sidebarItems-text">作者资产</div>
                            </a></li>
                        </ul>
                    </li>
                    <li class="nav-tab"><a class="" href="{:url('index/writerinfo')}"><h3><i class="anticon anticon-user"></i>
                        作者信息</h3></a></li>
                    <li class="nav-tab"><a class="" href="{:url('index/writerdata')}"><h3><i class="anticon anticon-tablet"></i>
                        作品数据</h3></a></li>
                    <li class="nav-tab"><a href="{:url('index/writernwes')}"><h3><i class="anticon anticon-short"></i>消息管理
                    </h3></a>

                    <li class="nav-tab"><a class="" href="{:url('index/writercheckout')}"><h3><i class="anticon anticon-money"></i>
                        结算中心</h3></a></li>
                </ul>
            </div>
            <div class="content-page">
                <div class="createbookPage">


                    <!--{block name="kth"}-->
                    <!-- 可替换主题部分 -->
                    <div class="content">
                        <div class="content-list position-fix">
                            <div class="page-title"><h2><span><a class="clor" href="">作品列表</a><span class="separator">&gt;</span></span><span><a
                                    class="clor1" href="{:url('index/writerfound')}">创建书籍</a></span></h2></div>


                                <div class='content-zuopin'>
                                    <p class="error">{$error}</p>
                                    <div class='content-all'>
                      <form action="{:url('index/foundverify')}" method='post' enctype="multipart/form-data">
                          <!--<form action="{:url('index/foundverify')}" method="post" enctype="multipart/form-data"></form>-->
                                        <div class='zuopin'>作品名称:<input type="text" class='inputys' name='name'></div>
                                        <div class='zuopin'>作品分类:
                                            <p>

                                                <label><input type="radio" class='zpfl' name='zpfl' checked value="3">言情</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="4">穿越</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="5">架空</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="6">宫斗</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="7">女尊</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="8">都市</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="9">异能</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="10">豪门</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="11">青春</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="12">生活</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="13">校园</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="14">玄幻</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="15">奇幻</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="16">重生</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="17">武侠</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="18">仙侠</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="19">修真</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="20">灵异</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="21">鬼怪</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="22">恐怖</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="23">推理</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="24">悬疑</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="25">冒险</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="26">末世</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="27">同人</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="28">网游</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="29">竞技</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="30">历史</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="31">军事</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="32">神秘</label>
                                                <label><input type="radio" class='zpfl' name='zpfl'
                                                              value="33">科幻</label>

                                            </p>

                                        </div>
                                        <div class='zuopin'>作品状态:
                                            <label><input type="radio" class='zpfl' name='status' checked value="1">连载</label>
                                            <label><input type="radio" class='zpfl' name='status' value="2">完本</label>
                                        </div>
                                        <div class='zuopin'>作品介绍:<textarea class='inputys zhengwen' rows='6' cols='65'
                                                                           name='suggest'></textarea>
                                            <div class='zuopin zuopzj'>作品章节:<input type="text" class='inputys zpzj'
                                                                                   name='section'></div>
                                            <span class='zpzw'>作品正文:</span>
<textarea id="demo" name="content" style="display: none;"></textarea>
                                        </div>
                                        <div class='fm-all'>
                                            <div class='fm'>封面</div>
                                            <input type="file" name='image'>
                                        </div>
                                        <div class="submit-div-btn">
                                            <input type="submit" class="foot-btn-submit"
                                                   value="提交审核">
                                        </div>

                                    </div>
                                    <div class="cb-footer"></div><!-- react-empty: 245 --></div>
                            </form>

                            <!--可替换结束-->
                    <!--{/block}-->


                </div>
            </div>
        </div>
    </div>
</div>
        <script src="/static/writer/js/jquery-1.8.3.min.js"></script>
        <script>

            layui.use('layedit', function(){
                var layedit = layui.layedit;
                //上传图片接口：注意：layedit.set 一定要放在 build前面，否则配置全局接口将无效
                layedit.set({
                    uploadImage: {
                        url: '/admin/Article/lay_img_upload', //接口url
                        type: 'post', //默认post
                    }
                });
                //创建编辑器
                layedit.build('demo'),{
                    width:600,
                    height: 180 //设置编辑器高度
                }; //建立编辑器

            });
        </script>

</body>
</html>